[INFO] cloning repository https://github.com/micahcc/onnx-parse
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/micahcc/onnx-parse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicahcc%2Fonnx-parse", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicahcc%2Fonnx-parse'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b0c30b6c0c51474654b3a27f2df7825849d3ea27
[INFO] fixing micahcc/onnx-parse against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicahcc%2Fonnx-parse" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/micahcc/onnx-parse
[INFO] finished tweaking git repo https://github.com/micahcc/onnx-parse
[INFO] tweaked toml for git repo https://github.com/micahcc/onnx-parse written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/micahcc/onnx-parse on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/micahcc/onnx-parse already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded protox v0.9.1
[INFO] [stderr]   Downloaded protox-parse v0.9.0
[INFO] [stderr]   Downloaded prost-reflect v0.16.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] adbb51ebe9f0476b16b11378bfec1df0c33f220a3cf57931272904888c37caad
[INFO] running `Command { std: "docker" "start" "adbb51ebe9f0476b16b11378bfec1df0c33f220a3cf57931272904888c37caad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "adbb51ebe9f0476b16b11378bfec1df0c33f220a3cf57931272904888c37caad" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "adbb51ebe9f0476b16b11378bfec1df0c33f220a3cf57931272904888c37caad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "adbb51ebe9f0476b16b11378bfec1df0c33f220a3cf57931272904888c37caad" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling logos-codegen v0.15.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling miette-derive v7.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]    Compiling prost-derive v0.14.3
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling test-case-core v3.3.1
[INFO] [stderr]     Checking criterion-plot v0.8.2
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]    Compiling miette v7.6.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling prost v0.14.3
[INFO] [stderr]    Compiling logos-derive v0.15.1
[INFO] [stderr]    Compiling logos v0.15.1
[INFO] [stderr]    Compiling petgraph v0.8.3
[INFO] [stderr]    Compiling alloca v0.4.0
[INFO] [stderr]     Checking zerocopy v0.8.48
[INFO] [stderr]    Compiling test-case-macros v3.3.1
[INFO] [stderr]    Compiling prost-types v0.14.3
[INFO] [stderr]     Checking test-case v3.3.1
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling protox-parse v0.9.0
[INFO] [stderr]    Compiling prost-reflect v0.16.3
[INFO] [stderr]    Compiling prost-build v0.14.3
[INFO] [stderr]     Checking tracing-chrome v0.7.2
[INFO] [stderr]    Compiling protox v0.9.1
[INFO] [stderr]    Compiling onnx-infer v0.4.19 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking criterion v0.8.2
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> benches/inference.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |         EngineMode::Plain => InferenceEngine::new(&model_bytes).expect("load model"),
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^-------------- argument #2 of type `InferenceOptions` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/inference_engine.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn new(model_bytes: &[u8], opts: InferenceOptions) -> Result<Self> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 52 |         EngineMode::Plain => InferenceEngine::new(&model_bytes, /* InferenceOptions */).expect("load model"),
[INFO] [stdout]    |                                                               ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `with_graph_opt` found for struct `InferenceEngine` in the current scope
[INFO] [stdout]   --> benches/inference.rs:53:50
[INFO] [stdout]    |
[INFO] [stdout] 53 |         EngineMode::GraphOpt => InferenceEngine::with_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^ associated function or constant not found in `InferenceEngine`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `InferenceEngine`, consider using `InferenceEngine::new` which returns `Result<InferenceEngine, anyhow::Error>`
[INFO] [stdout]   --> src/inference_engine.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn new(model_bytes: &[u8], opts: InferenceOptions) -> Result<Self> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `dump_graph_opt` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 53 -         EngineMode::GraphOpt => InferenceEngine::with_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout] 53 +         EngineMode::GraphOpt => InferenceEngine::dump_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> benches/inference.rs:111:30
[INFO] [stdout]     |
[INFO] [stdout] 111 |         EngineMode::Plain => InferenceEngine::new(&model_bytes).expect("load model"),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^-------------- argument #2 of type `InferenceOptions` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/inference_engine.rs:76:12
[INFO] [stdout]     |
[INFO] [stdout]  76 |     pub fn new(model_bytes: &[u8], opts: InferenceOptions) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 111 |         EngineMode::Plain => InferenceEngine::new(&model_bytes, /* InferenceOptions */).expect("load model"),
[INFO] [stdout]     |                                                               ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `with_graph_opt` found for struct `InferenceEngine` in the current scope
[INFO] [stdout]    --> benches/inference.rs:112:50
[INFO] [stdout]     |
[INFO] [stdout] 112 |         EngineMode::GraphOpt => InferenceEngine::with_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^ associated function or constant not found in `InferenceEngine`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `InferenceEngine`, consider using `InferenceEngine::new` which returns `Result<InferenceEngine, anyhow::Error>`
[INFO] [stdout]    --> src/inference_engine.rs:76:5
[INFO] [stdout]     |
[INFO] [stdout]  76 |     pub fn new(model_bytes: &[u8], opts: InferenceOptions) -> Result<Self> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `dump_graph_opt` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 112 -         EngineMode::GraphOpt => InferenceEngine::with_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout] 112 +         EngineMode::GraphOpt => InferenceEngine::dump_graph_opt(&model_bytes).expect("load model"),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:63:32
[INFO] [stdout]     |
[INFO] [stdout]  63 |         b.iter(|| conv.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                        ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:195:19
[INFO] [stdout]     |
[INFO] [stdout] 192 |     let (mut engine, inputs) = load_single_input(&base, "model.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 195 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:204:19
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let (mut engine, inputs) = load_single_input(&base, "model.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 204 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:213:19
[INFO] [stdout]     |
[INFO] [stdout] 210 |     let (mut engine, inputs) = load_single_input(&base, "model.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 213 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:222:19
[INFO] [stdout]     |
[INFO] [stdout] 219 |     let (mut engine, inputs) = load_single_input(&base, "mnist-12.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 222 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:231:19
[INFO] [stdout]     |
[INFO] [stdout] 228 |     let (mut engine, inputs) = load_single_input(&base, "mobilenetv2-7.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 231 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:240:19
[INFO] [stdout]     |
[INFO] [stdout] 237 |     let (mut engine, inputs) = load_single_input(&base, "mobilenetv2-12.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 240 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:249:19
[INFO] [stdout]     |
[INFO] [stdout] 246 |     let (mut engine, inputs) = load_single_input(&base, "model.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 249 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:258:19
[INFO] [stdout]     |
[INFO] [stdout] 255 |     let (mut engine, inputs) = load_multi_input(&base, "yolov3-tiny.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 258 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let (mut engine, inputs) = load_single_input(&base, "yolov4.onnx");
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 267 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:278:19
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let (mut engine, inputs) = load_single_input_opt(&base, "mnist-12.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 278 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:287:19
[INFO] [stdout]     |
[INFO] [stdout] 284 |     let (mut engine, inputs) = load_single_input_opt(&base, "mobilenetv2-7.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 287 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:296:19
[INFO] [stdout]     |
[INFO] [stdout] 293 |     let (mut engine, inputs) = load_single_input_opt(&base, "mobilenetv2-12.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 296 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:305:19
[INFO] [stdout]     |
[INFO] [stdout] 302 |     let (mut engine, inputs) = load_single_input_opt(&base, "model.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 305 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:314:19
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let (mut engine, inputs) = load_multi_input_opt(&base, "yolov3-tiny.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 314 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: captured variable cannot escape `FnMut` closure body
[INFO] [stdout]    --> benches/inference.rs:323:19
[INFO] [stdout]     |
[INFO] [stdout] 320 |     let (mut engine, inputs) = load_single_input_opt(&base, "yolov4.onnx", true);
[INFO] [stdout]     |          ---------- variable defined here
[INFO] [stdout] ...
[INFO] [stdout] 323 |         b.iter(|| engine.run(inputs.clone()).unwrap())
[INFO] [stdout]     |                 - ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 | |
[INFO] [stdout]     |                 | returns a reference to a captured variable which escapes the closure body
[INFO] [stdout]     |                 | variable captured here
[INFO] [stdout]     |                 inferred to be a `FnMut` closure
[INFO] [stdout]     |
[INFO] [stdout]     = note: `FnMut` closures only have access to their captured variables while they are executing...
[INFO] [stdout]     = note: ...therefore, they cannot allow references to captured variables to escape
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:101:32
[INFO] [stdout]     |
[INFO] [stdout] 101 |         b.iter(|| conv.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                        ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `onnx-infer` (bench "inference") due to 19 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:124:34
[INFO] [stdout]     |
[INFO] [stdout] 124 |         b.iter(|| matmul.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                          ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |         b.iter(|| matmul.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                          ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:167:34
[INFO] [stdout]     |
[INFO] [stdout] 167 |         b.iter(|| matmul.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                          ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> benches/kernels.rs:199:32
[INFO] [stdout]     |
[INFO] [stdout] 199 |         b.iter(|| gemm.execute(&values, &mut output).unwrap())
[INFO] [stdout]     |                        ------- ^^^^^^^ expected `&Values<'_>`, found `&HashMap<String, Tensor>`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&onnx_infer::Values<'_>`
[INFO] [stdout]                found reference `&HashMap<std::string::String, onnx_infer::Tensor>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/layers/mod.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn execute(&mut self, values: &Values, output: &mut Tensor) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `onnx-infer` (bench "kernels") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "adbb51ebe9f0476b16b11378bfec1df0c33f220a3cf57931272904888c37caad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "adbb51ebe9f0476b16b11378bfec1df0c33f220a3cf57931272904888c37caad", kill_on_drop: false }`
[INFO] [stdout] adbb51ebe9f0476b16b11378bfec1df0c33f220a3cf57931272904888c37caad
